Optimal. Leaf size=94 \[ \frac{(f+g x)^{m+1} \left (a+b \log \left (c (d+e x)^n\right )\right )}{g (m+1)}+\frac{b e n (f+g x)^{m+2} \, _2F_1\left (1,m+2;m+3;\frac{e (f+g x)}{e f-d g}\right )}{g (m+1) (m+2) (e f-d g)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0499173, antiderivative size = 94, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091, Rules used = {2395, 68} \[ \frac{(f+g x)^{m+1} \left (a+b \log \left (c (d+e x)^n\right )\right )}{g (m+1)}+\frac{b e n (f+g x)^{m+2} \, _2F_1\left (1,m+2;m+3;\frac{e (f+g x)}{e f-d g}\right )}{g (m+1) (m+2) (e f-d g)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2395
Rule 68
Rubi steps
\begin{align*} \int (f+g x)^m \left (a+b \log \left (c (d+e x)^n\right )\right ) \, dx &=\frac{(f+g x)^{1+m} \left (a+b \log \left (c (d+e x)^n\right )\right )}{g (1+m)}-\frac{(b e n) \int \frac{(f+g x)^{1+m}}{d+e x} \, dx}{g (1+m)}\\ &=\frac{b e n (f+g x)^{2+m} \, _2F_1\left (1,2+m;3+m;\frac{e (f+g x)}{e f-d g}\right )}{g (e f-d g) (1+m) (2+m)}+\frac{(f+g x)^{1+m} \left (a+b \log \left (c (d+e x)^n\right )\right )}{g (1+m)}\\ \end{align*}
Mathematica [A] time = 0.084991, size = 81, normalized size = 0.86 \[ \frac{(f+g x)^{m+1} \left (a+b \log \left (c (d+e x)^n\right )+\frac{b e n (f+g x) \, _2F_1\left (1,m+2;m+3;\frac{e (f+g x)}{e f-d g}\right )}{(m+2) (e f-d g)}\right )}{g (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 1.049, size = 0, normalized size = 0. \begin{align*} \int \left ( gx+f \right ) ^{m} \left ( a+b\ln \left ( c \left ( ex+d \right ) ^{n} \right ) \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (g x + f\right )}^{m} b \log \left ({\left (e x + d\right )}^{n} c\right ) +{\left (g x + f\right )}^{m} a, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a + b \log{\left (c \left (d + e x\right )^{n} \right )}\right ) \left (f + g x\right )^{m}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \log \left ({\left (e x + d\right )}^{n} c\right ) + a\right )}{\left (g x + f\right )}^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]